var foodService = require('../../service/o2o_merchant/food.server.service.js');

module.exports = {
    getFoodListByMerchantId:getFoodListByMerchantId,
    addFood : addFood,
    updateFood : updateFood,
    deleteFood : deleteFood
}

function getFoodListByMerchantId(req,res,next){
    console.log("getFoodListByMerchantId start .....")
    foodService.getFoodListByMerchantId(req,res,next);
}

function addFood(req,res,next){
    console.log("addFood start .....")
    foodService.addFood(req,res,next);
}

function updateFood(req,res,next){
    console.log("updateFood start .....")
    foodService.updateFood(req,res,next);
}

function deleteFood(req,res,next){
    console.log("deleteFood start .....")
    foodService.deleteFood(req,res,next);
}